<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>类别管理</title>
    <script src="/ueditor/ueditor.config.js"></script>
    <script src="/ueditor/ueditor.all.js"></script>
    <script src="/ueditor/lang/zh-cn/zh-cn.js"></script>
    <link rel="stylesheet" href="/static/bootstrap/css/bootstrap.css">
    <link rel="stylesheet" href="/static/font-awesome-4.7.0/css/font-awesome.css">
</head>
<body>

<div class="container">
    <form action="/admin/book?action=save" method="post" enctype="multipart/form-data">
        <br>
        <h3>添加类别</h3>
        <input type="text" name="" id="">
        <br>
        <select name="" id="">
            <option value="0">根类别</option>
            <#list cates as c>
                <option value="${c.id}">
                    <#list c.cpath?split(",") as x>
                        &nbsp;
                    </#list>
                    ${c.cname}</option>
            </#list>
        </select>
        <br>
        <#list cates as c>
            <p>
                <#list c.cpath?split(",") as x>
                    &nbsp;
                </#list>
                ${c.cname}</p>
        </#list>
</div>



<script src="/static/jquery/jquery.js"></script>
<script src="/static/bootstrap/js/bootstrap.bundle.js"></script>
<script src="/static/bootstrap/js/bootstrap.js"></script>

</body>
</html>